/*
 * Copyright 2012-2018 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "../../bower_components/bootstrap/scss/variables";
@import "variables";

$sidenav-vertical-margin: 30px;

.gt-sidebar .list-group-item {
  border-left: 0;
  border-right: 0;
  color: #555;
  @include gt-focus-ring;
}

.gt-sidebar .list-group-item:first-child {
  border-top: 0;
}

.gt-sidebar .list-group-item:last-child {
  border-bottom: 0;
}

.gt-sidebar .list-group-item.active {
  background-color: $secondary;
  border-color: #ccc;
  color: #000;
}

.gt-sidebar .list-group-item:hover {
  background-color: #f5f5f5;
}

.card, .card-header {
  border-color: #d2ba7f !important;
}

.card.gt-incident-active, .card.gt-incident-active .card-header {
  border-color: $gt-red !important;
}

.card-header {
  color: #555 !important;
  background-color: $secondary !important;
}

.card.gt-incident-active .card-header {
  background-color: #F4E4E4 !important;
}

.card-header .gt-separator {
  font-size: 40px;
  font-weight: 400;
  margin-top: -10px;
  margin-bottom: -10px;
}

.input-group-text, .well, .chart-help, .thread-dump-flat-pre {
  background-color: $secondary !important;
}

.gt-sidebar .bootstrap-select .dropdown-menu {
  // override default dropdown font-size 16px
  font-size: 14px;
}

.gt-sidebar {
  // bottom margin is for mobile where main card is below
  margin-bottom: 40px;
}

@include media-breakpoint-up(lg) {
  .gt-sidebar {
    display: inline-block;
    vertical-align: top;
  }

  .gt-main-column {
    display: inline-block;
    // this makes total 20px gap between sidebar and main
    margin-left: 16px;
  }
}

@include media-breakpoint-up(lg) {
  .gt-sidebar {
    width: 220px;
  }

  .gt-main-column {
    width: 689px;
  }
}

@include media-breakpoint-up(xl) {
  .gt-main-column {
    width: 869px;
  }
}

@media screen and (min-width: 1400px) {
  .gt-main-column {
    width: 1069px;
  }
}

@media screen and (min-width: 1600px) {
  .gt-main-column {
    width: 1269px;
  }
}
